package com.zeli.dao;

import java.util.List;

import com.zeli.pojo.Admin;
import com.zeli.util.Order;

public interface AdminDao {

	public boolean save(Admin admin);

	public boolean removeById(Integer id);

	public boolean update(Admin admin);

	public Admin getById(Integer id);

	public List<Admin> getList(Admin admin, Integer firstResult, Integer maxResults, Order[] orders);

	public Integer getCount(Admin admin);

}

